package com.istock.union.user.dao;

import com.istock.base.common.api.model.PageInfo;
import com.istock.union.user.model.CredentialRoleInfo;
import com.istock.union.user.model.CredentialRoleInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CredentialRoleInfoMapper {
    long countByExample(CredentialRoleInfoExample example);

    int deleteByExample(CredentialRoleInfoExample example);

    int deleteByPrimaryKey(String id);

    int insert(CredentialRoleInfo record);

    int insertSelective(CredentialRoleInfo record);

    List<CredentialRoleInfo> selectByExample(CredentialRoleInfoExample example);

    CredentialRoleInfo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CredentialRoleInfo record, @Param("example") CredentialRoleInfoExample example);

    int updateByExample(@Param("record") CredentialRoleInfo record, @Param("example") CredentialRoleInfoExample example);

    int updateByPrimaryKeySelective(CredentialRoleInfo record);

    int updateByPrimaryKey(CredentialRoleInfo record);

    List<CredentialRoleInfo> selectByExample(CredentialRoleInfoExample example, PageInfo pageRowBounds);
}